package com.sharding.jdbc.mybatis.dao;

import com.sharding.jdbc.mybatis.module.Value2;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface Value2Dao {

    boolean create(Value2 value2);

    boolean creates(List<Value2> value2s);

    List<Value2> loadByIds(List<Long> ids);

    List<Value2> paging(Map<String, Object> criteria);

}
